/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.qx.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 单表生成Entity
 * @author zequs
 * @version 2017-09-03
 */
public class QxDataRule extends DataEntity<QxDataRule> {
	
	private static final long serialVersionUID = 1L;
	private String year;		// year
	private String leagueid;		// 联赛
	private Integer countTotal;		// 比赛次数
	private Integer unusualTotal;		// 状态异常总数
	private Integer scoreTotal;		// 比赛总分
	private Integer loseCount;		// 输次数
	private Integer winCount;		// 赢次数
	private Integer winScoreTotal;		// 赢时进球数
	private Integer loseScoreTotal;		// 输时进球数
	private Integer mainUnusualTotal;      //主场异常总数
	private Integer guestUnusualTotal;      //客场异常总数
	private Integer evenCount;         //打平次数
	
	public QxDataRule() {
		super();
	}

	public QxDataRule(String id){
		super(id);
	}

	@Length(min=0, max=64, message="year长度必须介于 0 和 64 之间")
	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}
	
	@Length(min=0, max=64, message="联赛长度必须介于 0 和 64 之间")
	public String getLeagueid() {
		return leagueid;
	}

	public void setLeagueid(String leagueid) {
		this.leagueid = leagueid;
	}
	
	public Integer getCountTotal() {
		return countTotal;
	}

	public void setCountTotal(Integer countTotal) {
		this.countTotal = countTotal;
	}
	
	public Integer getUnusualTotal() {
		return unusualTotal;
	}

	public void setUnusualTotal(Integer unusualTotal) {
		this.unusualTotal = unusualTotal;
	}
	
	public Integer getScoreTotal() {
		return scoreTotal;
	}

	public void setScoreTotal(Integer scoreTotal) {
		this.scoreTotal = scoreTotal;
	}
	
	public Integer getLoseCount() {
		return loseCount;
	}

	public void setLoseCount(Integer loseCount) {
		this.loseCount = loseCount;
	}
	
	public Integer getWinCount() {
		return winCount;
	}

	public void setWinCount(Integer winCount) {
		this.winCount = winCount;
	}
	
	public Integer getWinScoreTotal() {
		return winScoreTotal;
	}

	public void setWinScoreTotal(Integer winScoreTotal) {
		this.winScoreTotal = winScoreTotal;
	}
	
	public Integer getLoseScoreTotal() {
		return loseScoreTotal;
	}

	public void setLoseScoreTotal(Integer loseScoreTotal) {
		this.loseScoreTotal = loseScoreTotal;
	}

    public Integer getMainUnusualTotal() {
        return mainUnusualTotal;
    }

    public void setMainUnusualTotal(Integer mainUnusualTotal) {
        this.mainUnusualTotal = mainUnusualTotal;
    }

    public Integer getGuestUnusualTotal() {
        return guestUnusualTotal;
    }

    public void setGuestUnusualTotal(Integer guestUnusualTotal) {
        this.guestUnusualTotal = guestUnusualTotal;
    }

    public Integer getEvenCount() {
        return evenCount;
    }

    public void setEvenCount(Integer evenCount) {
        this.evenCount = evenCount;
    }
    
}